package org.ucas.faker.web.dao;

import org.springframework.data.jpa.repository.JpaRepository;
import org.springframework.stereotype.Repository;
import org.ucas.faker.web.entity.User;

import java.util.List;

/**
 * Created by suemi on 17-7-1.
 */
@Repository
public interface UserDao extends JpaRepository<User,Long> {

  User findByAccount(String account);
}
